package com.lino.design.coupon;

/**
 * @description: 模拟优惠券服务
 * @author: lingjian
 * @createDate: 2022/12/15 16:27
 */
public class CouponService {

    /**
     * 发放优惠券
     *
     * @param uId          用户ID
     * @param couponNumber 优惠券数量
     * @param uuid         uuid
     * @return 优惠券结果类
     */
    public CouponResult sendCoupon(String uId, String couponNumber, String uuid) {
        System.out.println("模拟发放优惠券一张：" + uId + ", " + couponNumber + ", " + uuid);
        return new CouponResult("0000", "发放成功");
    }
}
